package simorg.controller;

import java.util.HashMap;

import simorg.actions.Action;
import simorg.actions.AssignmentDelete;
import simorg.actions.AssignmentNew;
import simorg.actions.AssignmentSave;
import simorg.actions.AssignmentView;

public class AssignmentController extends Controller {

	public static final String controllerName = "assignment";
	public AssignmentController() {
		this.name = controllerName;
		this.actions = new HashMap<String, Action>();
		this.actions.put(AssignmentView.actionName, new AssignmentView());
		this.actions.put(AssignmentSave.actionName, new AssignmentSave());
		this.actions.put(AssignmentNew.actionName, new AssignmentNew());
		this.actions.put(AssignmentDelete.actionName, new AssignmentDelete());
		this.defaultAction = new AssignmentView();
	}
	
	
}
